
platform :ios, '13.0'  # 指定平台与版本
use_frameworks!
target 'MagoT' do

  pod 'Moya'
  
  # Rx Core
  pod 'RxSwift'
  #pod 'RxCocoa'
  
  # Rx Extensions
  #pod 'RxDataSources'
  pod 'NSObject+Rx'
  
  # Auto Layout
  pod 'SnapKit'
  
  # UI
  #pod 'DZNEmptyDataSet'
  pod 'AcknowList'
  pod 'MJRefresh'
  pod 'FSPagerView'
  pod 'JXSegmentedView'
  pod 'MarqueeLabel'
  pod 'SVProgressHUD'
  
  # Image
  pod 'Kingfisher'
  
  # Keyboard
  pod 'IQKeyboardManagerSwift'
  
  # Keychain
  pod 'KeychainAccess'
  
  # 对序列的操作符的扩充,让序列从一种类型转换到另一种类型变得更加快捷 https://github.com/RxSwiftCommunity/RxSwiftExt
  pod 'RxSwiftExt'
  pod 'RxViewController'
  pod 'RxOptional'
  
  # Date
  pod 'SwiftDate'
  
  # Bug&Crash
  pod 'KSCrash'
  
  # 在BaseViewController中有尝试使用,对于添加手势与调用会更加简单
  pod 'RxGesture'
  
end

# 如果你是M1系列芯片,请添加下面的脚本, 去掉=begin和=end,便于在模拟器上运行
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            # Needed for building for simulator on M1 Macs
            config.build_settings['ONLY_ACTIVE_ARCH'] = 'NO'
        end
    end
end
